package com.jiaoyou.baojian.entity.pay;

/**
 * Created by DemonZYM on 17/5/29.
 */

public class Order {

    /**
     * discountPrice : 0
     * from : WAP_APP_ANDROID
     * id : 7000000010010014
     * itemId : 0
     * payPrice : 20
     * price : 0
     * quantity : 2
     * shopId : 1
     * skuId : 2
     * status : WAIT_BUYER_PAY
     * totalPrice : 20
     * totalWeight : 0
     * tradeId : 7000000010000014
     * userId : 14
     */

    private int discountPrice;
    private String from;
    private long id;
    private int itemId;
    private float payPrice;
    private int price;
    private int quantity;
    private int shopId;
    private int skuId;
    private String status;
    private float totalPrice;
    private int totalWeight;
    private long tradeId;
    private int userId;
    private OrderItem item;

    public OrderItem getItem() {
        return item;
    }

    public void setItem(OrderItem item) {
        this.item = item;
    }

    public int getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(int discountPrice) {
        this.discountPrice = discountPrice;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public float getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(float payPrice) {
        this.payPrice = payPrice;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getSkuId() {
        return skuId;
    }

    public void setSkuId(int skuId) {
        this.skuId = skuId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public float getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(float totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(int totalWeight) {
        this.totalWeight = totalWeight;
    }

    public long getTradeId() {
        return tradeId;
    }

    public void setTradeId(long tradeId) {
        this.tradeId = tradeId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
